/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.MenuRule_DAO;
import DTO.MenuRule_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class MenuRule_BUS {
    
     public static String Get_MenuID() throws SQLException{
        return MenuRule_DAO.Get_MenuID();
    }
    public static ArrayList<MenuRule_DTO> GetALL(){
        return MenuRule_DAO.GetALL();
    }
    public static boolean Insert(MenuRule_DTO MenuRule){
        return MenuRule_DAO.Insert(MenuRule);
    }
    public static boolean Update(MenuRule_DTO MenuRule){
        return MenuRule_DAO.Update(MenuRule);
    }   
    public static boolean Delete(String MenuID){
        return MenuRule_DAO.Delete(MenuID);
    }
}
